FROM tomcat:8.5

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
    ; echo echo "Asia/Shanghai" > /etc/timezone \
	; groupadd tomcat \
	; useradd -g tomcat tomcat \
	; chown -R tomcat:tomcat /usr/local/tomcat

USER tomcat
